package cc.rengu.igas.bsps.common.constant;

import java.io.Serializable;

/**
 * 内部树节点常量定义
 * Created by 王成 on 2018/5/29.
 */
public class BspsAppParamConstant implements Serializable {
    /* 微信ACCESS_TOKEN有效时间 */
    public static final int ACCESS_TOKEN_EXPIRY_TIME = 7200;
    /* 会话有效时间 */
    public static final int SESSION_EFFECTIVE_TIME = 600;
    /* 商户服务所有功能列表 */
    public static final String MCHNT_FUNC_LIST_PARAM = "MCHNT_FUNC_LIST_PARAM";
    /* 商户服务参数类型 */
    public static final String MCHNT_PARAM_TYPE = "MCHNT_SERVICE";
    /* 商户收款聚合码域名 */
    public static final String MCHNT_QRCODE_DOMAIN_NAME = "domainName";
    /* 商户收款聚合码TOKEN前缀 */
    public static final String MCHNT_QRCODE_TOKEN_PREFIX = "tokenPrefix";
    /* 密码修改重置类型 */
    public static final String PWD_MODIFY = "0";
    public static final String PWD_RESET = "1";

    /* 图片存储参数类型 */
    public static final String IMAGE_STORAGE_PARAM_TYPE = "IMAGE_STORAGE_PARAM";
    /* 服务器本地图片存储路径 */
    public static final String LOCAL_IMAGE_STORAGE_PATH = "localStorageRootPath";
    /* 服务器网络图片存储路径 */
    public static final String URL_IMAGE_STORAGE_PATH = "urlStorageRootPath";

    /* 微信服务商商户号 */
    public static final String WECHAT_PROVID_MCHNT_NO = "providMchntNo";
    /* 微信服务获取授权码地址 */
    public static final String WECHAT_AUTH_CODE_URL = "wechatAuthCodeUrl";
    /* 营销广告图片存储路径 */
    public static final String MARKET_ADVERT_IMAGE_STORAGE_PATH = "marketAdImagePath";

    /* 通道ID */
    public static final String TUNL_ID_WXZF = "WXZF";
    public static final String TUNL_ID_ALIP = "ALIP";
    public static final String TUNL_ID_AHOC = "AHOC";

    /* 成功/支持标志 */
    public static final String YES = "Y";
    /* 失败/不支持标志 */
    public static final String NO = "N";
    /* 机构公钥证书 */
    public static String PUBLIC_SIGN_CERT_TYPE = "CE00";
    /* 机构私钥证书 */
    public static String PRIVATE_DECRYPT_CERT_TYPE = "CD10";
    /* DUBBO 调用成功*/
    public static final String DUBBO_SUCCESS = "00000000";
    /* 订单有效时间 5分钟 */
    public static final long ORDER_EXPIRY_TIME = 5 * 60 * 1000L;

    /* 前端系统标识 */
    public static final String SYS_ID = "IGAS";
    /**
     * 默认bizType
     */
    public static final String DUBBO_DEFAULT_BIZ_TYPE = "00";

    /**
     * 退款公共交易码
     */
    public static final String REFUND_PUB_TXN_NUM = "P04BS001";
    public static final String BSP_SYS_ID = "BSPS";
    /*系统标识*/
    public static final String UNION_SYS_ID = "00000000000";
    /**
     * 系统通道参数
     */
    public static final String SYS_PARAM_CHANNEL = "SYS_PARAM_CHANNEL";
    /*微信支付类通道*/
    public static final String WECHAT_PAY_CHANNEL_ID = "WECHAT_PAY_CHANNEL_ID";
    /*支付宝支付类通道*/
    public static final String ALIPAY_CHANNEL_ID = "ALIPAY_CHANNEL_ID";
    /* DUBBO 调用超时*/
    public static final String DUBBO_OVERTIME = "98";
    /**
     * 积分兑换比例 参数类型
     */
    public static final String SCORE_RATE = "SCORE_RATE";
    /**
     * 积分兑换比例-贷记卡
     */
    public static final String SCORE_RATE_CR = "CR";
    /**
     * 积分兑换比例-借记卡
     */
    public static final String SCORE_RATE_DR = "DR";
    /**
     * 虚拟商户充值累计金额
     */
    public static final String RECHARGE_TOTAL_AMT = "10000";

    /* 法人行的银联机构号 */
    public static final String CUPS_INSR_ID = "unionPayOrgCode";

    public static final String yyyy_MM_dd_HHmmssSSS = "yyyy-MM-dd HH:mm:ss.SSS";

    /**
     * Y
     */
    public static final String FLAG_Y = "Y";
    /**
     * N
     */
    public static final String FLAG_N = "N";
    /**
     * 文件路径参数
     */
    public static final String FILE_PATH_PARAM = "FILE_PATH_PARAM";
    /**
     * 对账单文件路径
     */
    public static final String MCHNT_RECON_FILE_PATH = "MCHNT_RECON_FILE_PATH";
    /**
     * 订单下载
     */
    public static final String TRANS_DETAIL_DOWNLOAD = "TRANS_DETAIL_DOWNLOAD";

    /**
     * 余额提现
     */
    public static final String BSPS_CASH_TXN_NUM = "P01BS001";
    /**
     * 扫码收款（被扫）
     */
    public static final String BSPS_SCAN_QRCODE_TXN_NUM = "P01BS002";
    /**
     * 退款
     */
    public static final String BSPS_REFUND_TXN_NUM = "P04BS001";
    /**
     * 余额充值
     */
    public static final String BSPS_VIRTUAL_RECHARGE = "P01BS003";

    /* 消息推送标识 */
    public static final String MSG_PUSH_ID = "pushMsgId";
    /* 消息推送内容 */
    public static final String MSG_PUSH_CONTENT = "content";
    /* 消息推送应答信息 */
    public static final String MSG_PUSH_RESULT = "";
    /**
     * 银联码域名
     */
    public static final String CUPS_QRCODE_DOMAIN_NAME = "https://qr.95516.com/";
    /* 商户收款聚合码域名 */
    public static final String MCHNT_QRCODE_DOMAIN_NAMEB = "qrCodeDomainName";
    /* 机构是否开通云闪付  （1开通， 2没开通 ，null没开通）*/
    public static final String IS_DOMAIN_NAMEB = "isDomainNameb";
    /* 机构域名 */
    public static final String INST_DOMAIN_NAME = "instDomainName";


    /* 系统标识代码ID */
    public static final String IGSA_ID = "0492";
    /* 0 */
    public static final int INT_ZERO = 0;

    public static final String MOMP_PROD_CODE = "MOMP_PROD_CODE";

    public static final String COMMON_INST_ID = "800";

    public static final String DEFAULT_D0_FEE = "D0_FEE";
    /**
     * 默认参数类型
     */
    public static final String OPMS_SYS_PARAM = "OPMS_SYS_PARAM";

    public static final int NODATA_CODE = 1403;

    /**
     * 机构域名类型
     */
    public static final String PHONE_SETTINGS = "PHONE_SETTINGS";
    /**
     * 机构域名
     */
    public static final String BANK_URL = "bankUrl";
    /**
     * 手机型号
     */
    public static final String PHONE_BRAND_MODEL = "PHONE_BRAND_MODEL";
    /**
     * 默认 ==其他
     */
    public static final String OTHER = "其他";

    /**
     * 语音设备默认productKey
     */
    public static final String PRODUCT_KEY = "BSPS_PRODUCT_KEY";
    /**
     * 是否支持C1码标识
     */
    public static final String C1_CODE_KEY = "C1_CODE_KEY";
    /**
     * 他行码绑定参数标识
     */
    public static final String OBQR_KEY = "OBQR_KEY";
    /**
     * 静态码类型参数
     */
    public static final String INST_QRCODE_TYPE = "qrCodeType";
    /**
     * 商家服务收银员可退款商户白名单
     */
    public static final String BSPS_REFUND_MERCH = "BSPS_REFUND_MERCH";

    /**
     * 系统参数表KEY-D0商户实时入账最低金额
     */
    public static final String D0_ACCOUNTING_MIN_AMT = "D0_ACCOUNTING_MIN_AMT";
    /**
     * D0商户实时入账默认最低金额
     */
    public static final String D0_DEFAULT_ACCOUNTING_MIN_AMT = "1";
    /**
     * D0商户实时清算-调用ESB记账-上送子系统编号-0007本行渠道户出资到结算账户
     */
    public static final String D0_ESB_CHANNEL_BIZ_TYPE = "0007";
    /**
     * D0商户实时清算-调用ESB记账-上送子系统编号-0014垫资户出资
     */
    public static final String D0_OTHER_BANK_CARD_ESB_CHANNEL_BIZ_TYPE = "0014";

    /*提现产品,本行提现固定子系统编号-0000*/
    public static final String ONE_BANK_CASH_WITHDRAWAL_BIZ_TYPE = "0000";
    /*提现产品,他行提现固定子系统编号-0008*/
    public static final String OTHER_BANK_CASH_WITHDRAWAL_BIZ_TYPE = "0008";

    /* 微信/支付宝-商户号 */
    public static final String MCHNT_NO = "mchntNo";
    /*微信SUB_APP_ID*/
    public static final String SUB_APPID = "subAppid";

    public static final String MOMP = "MOMP";
    /* 验签参数标识 */
    public static final String SIGN_BLOCK_PARAM = "SIGN_BLOCK_PARAM";

    //系统参数表-最低提现金额KEY
    public static final String SYS_PARAM_TYPE_CASH_WITHDRAWAL_MIN_AMT = "CASH_WITHDRAWAL_MIN_AMT";
    //默认最低提现金额
    public static final String CASH_WITHDRAWAL_MIN_AMT = "1.00";


}
